home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / 1L0UTZB (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  1.0 KB  |  24 lines

  1. package com.sun.java.swing.plaf.basic;
  2.  
  3. import com.sun.java.swing.UIManager;
  4. import com.sun.java.swing.preview.filechooser.FileFilter;
  5. import java.io.File;
  6.  
  7. class BasicFileChooserUI$AcceptAllFileFilter extends FileFilter {
  8.    // $FF: synthetic field
  9.    BasicFileChooserUI this$0;
  10.  
  11.    // $FF: synthetic method
  12.    public BasicFileChooserUI$AcceptAllFileFilter(BasicFileChooserUI this$0) {
  13.       this.this$0 = this$0;
  14.    }
  15.  
  16.    public boolean accept(File f) {
  17.       return true;
  18.    }
  19.  
  20.    public String getDescription() {
  21.       return UIManager.getString("FileChooser.acceptAllFileFilterText");
  22.    }
  23. }
  24.